﻿<%@ Page Title="" Language="C#" AutoEventWireup="true" MasterPageFile="~/Share/MainMenu.Master" CodeBehind="fListUser.aspx.cs" Inherits="MixScriptWeb.Member.fListUser" %>                 
<%@ Register Src="~/control/MixScriptTB.ascx" TagName="baseTextBox" TagPrefix="mix" %>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div style="padding-left: 10px;">
       
           <h2 class="jquery_tab"> <asp:Label ID="lblTitle" runat="server" Text="List User" Font-Bold="True"></asp:Label>
           </h2>
           <br />
        <table style="width: 525px;" class="table-ui">
            <tr>
                <td style="width: 144px; ">
                    <label id="lbuser" for="txtUserID" class="tebel">
                        UserID</label>
                </td>
                <td style="width: 5px; ">
                    :
                </td>
                <td style="width: 753px; ">
                    <mix:baseTextBox ID="txtuser" runat="server"    AllowNull=true showFind=false 
                        tooltip="This Field Cannot be empty" isvalid="True" ReadOnly="False" />
                    

                </td>
                <td style="width: 127px; ">
                </td>
            </tr>
            <tr>
                <td style="width: 144px;">
                    Password</td>
                <td style="width: 5px;">
                    :
                </td>
                <td style="width: 753px;">
                   <mix:baseTextBox ID="txtpass" runat="server"    AllowNull=false showFind=false 
                        tooltip="This Field Cannot be empty" isvalid="True" />
                </td>
                <td style="width: 127px;">
                </td>
            </tr>
             <tr>
                <td style="width: 144px;">
                    &nbsp;</td>
                <td style="width: 5px;">
                    &nbsp;</td>
                <td style="width: 753px;">
                   <mix:baseTextBox ID="txtpass2" runat="server"    AllowNull=false showFind=false 
                        tooltip="This Field Cannot be empty" isvalid="True" />
                </td>
                <td style="width: 127px;">
                </td>
            </tr>
            <tr>
                <td style="width: 144px; ">                   
                       Employee ID</td>
                <td style="width: 5px; ">
                    :
                </td>
                <td style="width: 753px; ">
                 <mix:baseTextBox ID="txtEmpID" runat="server"    AllowNull=true showFind=False 
                 tooltip="This Field Cannot be empty" isvalid="True" />
                </td>
                <td style="width: 127px; ">
                </td>
            </tr>
            <%--<tr>
                <td style="height: 26px; width: 196px;">
                    Vendor</td>
                <td style="width: 5px; height: 26px;">
                    :</td>
                <td style="height: 26px; width: 753px;">
                    <asp:TextBox ID="txtKeterangan" runat="server" Font-Bold="True"></asp:TextBox></td>
                <td style="width: 127px; height: 26px">
                </td>
            </tr>--%>
        </table>
        <br />
        <table style="width: 600px" class="table-ui" >
            <tr>
                <td style="height: 26px">
                    <asp:Button ID="btnSave" runat="server" CssClass="button" Text="Save" 
                        Width="99px" OnClick="btnSave_Click" />
                </td>
                <td style="height: 26px">
                </td>
                <td style="height: 26px">
                    <asp:Button ID="btnDelete" runat="server" Text="Delete" CssClass="button" Width="109px"
                        OnClientClick="verify()" OnClick="btnDelete_Click" />
                </td>
                <td style="height: 26px">
                </td>
                <td style="height: 26px">
                    <asp:Button ID="btnFind" runat="server" Text="Find" CssClass="button" Width="101px"
                        OnClick="btnFind_Click" />
                </td>
                <td style="height: 26px">
                </td>
                <td style="height: 26px">
                    <asp:Button ID="btnREset" runat="server" Text="Reset Pass" CssClass="button" Width="101px"
                        OnClick="btnREset_Click" />
                </td>
                <td style="height: 26px; width: 4px;">
                    &nbsp;</td>
                <td style="height: 26px">
                               <asp:Button ID="btnClear" runat="server" Text="Clear" CssClass="button" 
                                   Width="101px" onclick="btnClear_Click" /></td>
            </tr>
        </table>
        <br />
        <asp:GridView ID="gvdetail" runat="server" AutoGenerateColumns="False" 
               Width="100%" AllowPaging="True" CssClass="gridview" PageSize="15" 
               onselectedindexchanged="gvdetail_SelectedIndexChanged">
    
            <AlternatingRowStyle CssClass="alt" />
    
            <Columns >
                <asp:CommandField ShowSelectButton="True"  />
                <asp:BoundField DataField="userid" HeaderText="User ID"></asp:BoundField>
                <asp:BoundField DataField="pass" HeaderText="Password"></asp:BoundField>
                <asp:BoundField DataField="name" HeaderText="Name" />
                
            </Columns>
            <EditRowStyle BorderColor="Silver" BorderStyle="Solid" />
                    <FooterStyle CssClass="ft" />
            <PagerStyle BorderStyle="None" BorderWidth="0px" HorizontalAlign="Center" />
            
        </asp:GridView>
        <asp:Label ID="lblRowCount" runat="server" Font-Bold="True" Font-Size="X-Small"></asp:Label>
        <br />
        <div id="pnldetail"></div>
        <br />
        <br />
        </div>
</asp:Content>

